﻿namespace QueryDemo
{
	/// <summary>
	/// Type of query that can be used within the demo.
	/// </summary>
	public enum QueryType
	{
		/// <summary>
		/// Simple for-loop over an SPListItemCollection.
		/// </summary>
		ForLoop = 0,

		/// <summary>
		/// SPQuery object over an SPList.
		/// </summary>
		SPQuery = 1,

		/// <summary>
		/// SharePoint Server publishing site query feature.
		/// </summary>
		PortalSiteMapProvider = 2,

		/// <summary>
		/// Out-of-the-box SharePoint Lists web service using GetListItems.
		/// </summary>
		ListsWebService = 3,

		/// <summary>
		/// Non-cached cross-list query.
		/// </summary>
		SPSiteDataQuery = 4,

		/// <summary>
		/// Cached cross-list query using Content Query Web Part functionality.
		/// </summary>
		CrossListQueryInfo = 5//,
		//FullTextWssSqlQuery,
		//FullTextMossSqlQuery
	}
}
